package com.qingyun.pdfservice.client;

import com.qingyun.pdfservice.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "auth-service",path = "/user")
public interface UserClient {
    @GetMapping("/internal/byId")
    User getById(@RequestParam("TeacherId") Long teacherId);
}
